package com.example.demo02.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


/**
 * (Employee)表实体类
 *
 * @author makejava
 * @since 2024-09-02 23:50:33
 */
@TableName("employee")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee implements Serializable {



    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;
    
    private String username;

    private String gender;

    private Date hireDate;

    private String position;

    private Double salary;

    private String password;

    private String phone;

    @TableField(exist = false)
    private String token;


}

